package com.rs.admin.enums;

/**
 * @author lc
 * @description 响应枚举
 **/
public enum RespEnum {

    /**
     * 成功
     */
    SUCCESS("200","操作成功"),
    FAILURE("1000", "操作失败");

    private String code;
    private String msg;

    RespEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
